package com.eobjectsoft.etranslator.preferences;

import com.eobjectsoft.etranslator.ETranslatorPlugin;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

public class TranslatePreferenceInitializer extends AbstractPreferenceInitializer
{

    public TranslatePreferenceInitializer()
    {
    }

    public void initializeDefaultPreferences()
    {
        IPreferenceStore store = ETranslatorPlugin.getDefault().getPreferenceStore();
        store.setDefault("trans_from", 1);
        store.setDefault("trans_toar", true);
        store.setDefault("trans_toen", false);
        store.setDefault("trans_tozh-CN", true);
        store.setDefault("trans_tozh-TW", true);
        store.setDefault("trans_tofr", true);
        store.setDefault("trans_tode", true);
        store.setDefault("trans_toit", true);
        store.setDefault("trans_toja", true);
        store.setDefault("trans_toko", true);
        store.setDefault("trans_topt", true);
        store.setDefault("trans_toru", true);
        store.setDefault("trans_toes", true);
        store.setDefault("interval", 2000);
    }
}
